import base from '@/api/baseurl';
import request from '@/utils/request'

export function fetchListParamterszi(query) {
  return request({
    baseURL:base.appBaseApi,
    url: '/paramters/findparameterszisbuilder',
    method: 'get',
    params: query
  })
}

//单行删除
export function deleteParamterszi(query) {
  return request({
    baseURL:base.appBaseApi,
    url: '/paramters/deleteparamterszi',
    method: 'get',
    params: query
  })
}



export function addParamterszi(data) {
  return request({
    baseURL:base.appBaseApi,
    url: '/paramters/addparamterszi',
    method: 'post',
    data
  })
}

export function updateParamterszi(data) {
  return request({
    baseURL:base.appBaseApi,
    url: '/paramters/updateparamterszi',
    method: 'post',
    data
  })
}
  export function batchDeleteParamterszi(data) {
    return request({
      baseURL:base.appBaseApi,
      url: '/paramters/batchdeleteparamterszi',
      method: 'post',
      data
    })
  }
